package com.champ.mc.runner.demo1;

import com.champ.mc.service.demo1.Service1;
import com.champ.mc.service.demo1.Service2;
import com.champ.mc.thread.demo1.ThreadA;
import com.champ.mc.thread.demo1.ThreadB;

public class Run {
    public static void main(String[] args) {
        Service2 service1 = new Service2();
        ThreadA threadA = new ThreadA(service1);
        threadA.start();
        ThreadB threadB = new ThreadB(service1);
        threadB.start();
    }
}
